<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>水平方向表单布局-BootStrap常用表单布局</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
	
    <link href="/user/plug-in/bootstrapv4.1.3/css/bootstrap.css" rel="stylesheet">
    <link href="/user/plug-in/layuiv2.3.0/css/layui.css" rel="stylesheet">
    <script src="/user/plug-in/jquery/jquery.min.js"></script>
    
    <script src="/user/plug-in/bootstrapv4.1.3/js/bootstrap.js"></script>
    <script src="/user/plug-in/jquery-cookie/jquery-cookie.js"></script>

</head>
<body>
    <div class="container">
	    <div class="modal-body">
			<form class="layui-form" action="">
			  <input type="hidden" id="id" name="id" th:value="${user.id}">
			  <div class="layui-form-item">
			    <label class="layui-form-label">姓名</label>
			    <div class="layui-input-block">
			      <input type="text" name="name" lay-verify="required" th:value="${user.name}" placeholder="请输入 姓名" autocomplete="off" class="layui-input">
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">用户名</label>
			    <div class="layui-input-block">
			      <input type="text" name="userName" id="userName" lay-verify="username" placeholder="请输入用户名" th:value="${user.userName}" autocomplete="off" class="layui-input">
			    </div>
			    <!-- <div class="layui-form-mid layui-word-aux">辅助文字</div> -->
			  </div>
			  <div class="layui-form-item">
			    <label class="layui-form-label">邮箱</label>
			    <div class="layui-input-block">
			      <input type="text" name="email" lay-verify="email" placeholder="请输入email" th:value="${user.email}" autocomplete="off" class="layui-input">
			    </div>
			  </div>
			  <div class="layui-form-item">
			    <div class="layui-input-block">
			      <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
			      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
			    </div>
			  </div>
			</form>
		</div>
	</div>
</body>
<script src="/user/plug-in/layuiv2.3.0/layui.js"></script>
<script src="/user/js/applicationjs/user/edituser.js"></script>
</html>